﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Aioms.Common
{
    public class BaoYangPlan
    {
        public List<BaoYangDevice> BaoYangDevices { get; set; } = new();
    }

    public class BaoYangDevice
    {
        public long Id { get; set; }

        public long Eid { get; set; }
        public string Name { get; set; }

        public string Number { get; set; }

        public string Specification { get; set; }

        public long AeId { get; set; }
        public string AeName { get; set; }

        public long DvtId { get; set; }
        public string DvtName { get; set; }

        public string Position { get; set; }

        public int IsDel { get; set; }

        public List<DeviceBaoYangStandard> DeviceBaoYangStandards { get; set; } = new();
    }

    public class DeviceBaoYangStandard
    {
        /// <summary>
        /// 巡检标准ID
        /// </summary>
        public long Id { get; set; }

        public long Eid { get; set; }
        public string Standard { get; set; }
        public string Position { get; set; }
        public string ImageUrl { get; set; }
        public string VideoUrl { get; set; }
    }
}
